package com.baichang.taoshunda.entity;

import com.baichang.framework.annotation.jdbc.Generator;
import com.baichang.framework.annotation.jdbc.Table;
import com.baichang.framework.annotation.jdbc.Id;
import com.baichang.framework.entity.BaseEntity;

import javax.xml.crypto.Data;
import java.math.BigDecimal;
import java.util.Date;


@Table(name = "t_incidental")
public class Incidental extends BaseEntity {

    private Integer id;
    /**
     * 类型
     **/
    private Integer type;
    /**
     * 金额
     **/
    private BigDecimal money;
    /**
     *
     */
    private String allId;
    /**
     *
     */
    private Date created;
    /**
     * 支付方式
     */
    private Integer payMethod;
    @Id
    @Generator
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 类型
     **/
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * 金额
     **/
    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public String getAllId() {
        return allId;
    }

    public void setAllId(String allId) {
        this.allId = allId;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Integer getPayMethod() {
        return payMethod;
    }

    public void setPayMethod(Integer payMethod) {
        this.payMethod = payMethod;
    }
}